/*
第三章作业
3-7
hawksoft    Nov. 3th, 2021.
*/
#include <iostream>
using namespace std;
int main()
{
    int temp;
    cin>>temp;
    char str[9];
    sprintf(str,"%d",temp);
    
    int i = 0;
    while(str[i]!='\0')
    {
        if(i == 0)
            cout<<str[i];
        else
            cout<<"   "<<str[i];
        i++;
        
    }
}